package com.ymk.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ymk.base.BaseVO;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商户表
 * </p>
 *
 * @author 胡泽鑫
 * @since 2023-06-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mch")
public class Mch extends BaseVO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 联系人名称
     */
    @TableField("mch_user_id")
    private String mchUserId;

    /**
     * 商户logo
     */
    @TableField("logo")
    private String logo;

    /**
     * 商户名称
     */
    @TableField("title")
    private String title;

    /**
     * 分账比例
     */
    @TableField("divide_ratio")
    private BigDecimal divideRatio;

    /**
     * 销售总额
     */
    @TableField("sales_amount")
    private BigDecimal salesAmount;

    /**
     * 分账总额
     */
    @TableField("divide_amount")
    private BigDecimal divideAmount;

    /**
     * 待分账金额
     */
    @TableField("stay_divide_amount")
    private BigDecimal stayDivideAmount;

    /**
     * 微信支付商品id
     */
    @TableField("wxMchId")
    private String wxMchId;

    /**
     * 状态
     */
    @TableField("status")
    private String status;


}
